home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / texts / hwtcnnct.lha / HowToConnect next >
Text File  |  1996-05-16  |  9KB  |  298 lines

  1.  I wrote this to try to help people with the installation to the Internet.
  2.  It may have some errors, or omissions.
  3.  
  4.  A lot of what's here is from the various installation instructions.
  5.  
  6.  If there's parts that aren't clear, contact me, and I'll try to improve
  7.  the instructions.
  8.  
  9.  ======================================================================
  10.  List of programs needed to connect to the Internet with a PPP account:
  11.  =====================================================================
  12.  
  13.     Program                     Where to get it
  14.     -------                     ---------------
  15.  
  16.  1) AmiTCP-4.0                  Aminet
  17.  2) PPP 1.45                    Aminet
  18.  3) A Browser                   
  19.     -IBrowse                     http://omnipresence.conm/ibrowse/
  20.         Needs MUI 3.0
  21.     -AWeb                       Aminet
  22.     -Voyager                   Aminet
  23.         Needs MUI 3.3
  24.     -Amosaic-2.0-prerelease      http://omnipresence.conm/amosaic/
  25.         Needs MUI (get 3.3)
  26.  4) A mail, and news reader.
  27.     -Thor (mail, and news)      Aminet
  28.     -Elm  (mail)
  29.         Requires inet_utilities
  30.         and AmiPOP              Aminet
  31.     -Grn  (news)                Aminet
  32.  
  33.  =====================================================================
  34.  what you need from your provider
  35.  =====================================================================
  36.  
  37.  Your providers domain name
  38.  Your providers IP address
  39.  Your user name
  40.  Your password
  41.  
  42.  =====================================================================
  43.  
  44.  AmiTCP installation:
  45.  ===================
  46.  
  47.  Use the Install script.
  48.  
  49.  Enter the following: (I've shown what I entered for an example)
  50.  
  51.  Your user name for the default user name - gcaine
  52.  
  53.  Yes for is your network connection dynamic.
  54.  
  55.  You servers domain name for your domain name - cycor.ca
  56.  
  57.  Select PPP for the internet interface type
  58.  
  59.  Select PPP for the network interface to be used.
  60.  
  61.  Enter 0.0.0.0 for the default IP address.
  62.  
  63.  Enter your server's IP address for the destination address - 198.167.1.1
  64.  
  65.  Enter a blank string for the Netmask.
  66.  
  67.  Enter your server's IP for the IP address of the name servers - 198.167.1.1
  68.  Follow that with  a blank line for the next name server.
  69.  
  70.  Enter your servers domain name for the domain names to search - cycor.ca
  71.  Follow that with a blank line
  72.  
  73.  Select "Yes" to have the User-startup script changed.
  74.  
  75.  Select "Yes" to have Inetd to be started at the AmiTCP startup.
  76.  
  77.  You will then be asked for a password for the user.
  78.  
  79.  PPP 1.45 installation:
  80.  ======================
  81.  
  82.  Make a drawer called NetWorks in Devs:
  83.  
  84.  Copy the ppp.device that's right for your system from PPP/devs to
  85.  Devs:NetWorks and rename it to PPP.device
  86.  
  87.  Copy everything in PPP/bin to AmiTCP:bin
  88.  
  89.  Make a drawer in Envarc: called Sana2
  90.  Create a file called ppp0.config and put this line in it.
  91.  
  92.  serial.device 0 56700 0.0.0.0 7WIRE
  93.  
  94.  Put the file ppp0.config in Envarc:sana2
  95.  
  96.  Edit this with your user name, and replace AmiTCP:bin/startnet with it:
  97.  
  98.  ----------------------------Cut Startnet---------------------------
  99.  
  100. online devs:networks/ppp.device 0
  101. ; log in
  102. echo
  103. echo login: gcaine
  104. AmiTCP:bin/login -f gcaine
  105. AmiTCP:bin/umask 022
  106. AmiTCP:AmiTCP
  107. WaitForPort AMITCP
  108. ; Configure loop-back device
  109. AmiTCP:bin/ifconfig lo0 localhost
  110. ; Configure ppp0
  111. AmiTCP:bin/ifconfig ppp0 $ppp0iplocal $ppp0ipremote
  112. ; Add route to this host
  113. AmiTCP:bin/route add $ppp0iplocal localhost
  114. AmiTCP:bin/route add default $ppp0ipremote
  115. setenv HOSTNAME `AmiTCP:bin/hostname`
  116. Assign TCP: Exists > NIL:
  117. IF Warn
  118.   Mount TCP: from AmiTCP:devs/Inet-Mountlist
  119. EndIf
  120. ; Start the internet `super server'
  121. run AmiTCP:bin/inetd
  122.  
  123. ------------------------------End Cut Startnet---------------------
  124.  
  125.  
  126.  Add this line to the end of AmiTCP:bin/Stopnet
  127.  
  128.  Offline ppp.device 0
  129.  
  130.  Add this line to the end of AminTCP:db/interfaces
  131.  
  132.  ppp0 DEV=Devs:NetWorks/ppp.device UNIT=0 IPTYPE=33 NOARP P2P
  133.  
  134.   
  135.  IBrowse installation:
  136.  =====================
  137.  Install MUI with the Installer script.
  138.  
  139.  Dearchive it, and read the readme file. (Very easy)
  140.  
  141.  Voyager installation:
  142.  =====================
  143.  Install MUI with the Installer script.
  144.  
  145.  Use the installer script.
  146.  
  147.  AWev installation:
  148.  ==================
  149.  Use the installer script.
  150.  
  151.  Amosaic installation:
  152.  =====================
  153.  
  154.  Install MUI with the Installer script.
  155.  
  156.  Copy the contents of Amosaic/envarc to envarc:
  157.  Copy the contents Amosaic/Rexx to Rexx:
  158.  
  159.  Put this in s:user-startup:
  160.  
  161.  -----------------------------cut user-startup-----------------
  162.  
  163. ;BEGIN mosaic
  164. assign Mosaic: amitcp:inet/Amosaic20 (put the proper path here)
  165. Setenv NNTPSERVER 198.167.1.1 (put your own servers IP here)
  166. ;END mosaic
  167.  
  168. ------------------------------end cut user-startup------------
  169.  
  170. Edit envarc:mosaic/prefs so its like this:
  171.  
  172. __________________________cut mosaic prefs-------------------
  173.  
  174. DelayImageLoads         true
  175. ImageCacheSize          500
  176. RexxMacro1      Add to Hotlist | add-hotlist
  177. RexxMacro2      Jump to Hotlist | "'jump url file://localhost/env:Mosaic/hotlist.html'"
  178. HomeDocument http://www.cycor.ca/
  179. TempDir Ram:t/ <------------------- the slash is manditory
  180. Home AmiTCP:/  <------------------- ditto
  181. DownLoadDir AmiTCP:downloads
  182.  
  183. ------------------------end cut mosaic prefs---------------------
  184.  
  185. Edit the home HomeDocument part to go where ever you want.
  186.  
  187. ==================================================================
  188. ==================================================================
  189.  
  190. After you have done everything we've discussed so far:
  191.  
  192. - Open your Term program.
  193. - type AT&d0 (DTR over ride)
  194. - call your service provider, and log in.
  195. - When you start to see what looks like a bunch of garbage, save your
  196.   buffer, and quit the term program.
  197. - From a shell type startnet<enter>
  198.   if all goes well you should see a window open, asking for your password.
  199.   enter it. The Amitcp register requester will come up. You can close it
  200.   after a few moments. Then you should see PPP getting set up.
  201. - Click the Amosaic Icon, and see if you get anywhere.
  202.  
  203.    * Note *
  204.    You must have the baud rate set the same in both your
  205.    Term program, and in ppp0.config
  206.  
  207. After you've had a chance to look around the net for a bit, type
  208. stopnet<enter> from a shell to quit.
  209.  
  210. Open the buffer file you saved from your term program, and use it to
  211. create a dialscript for PPP.
  212.  
  213. Here a copy of mine:
  214.  
  215. -------------------------cut s:dialscript-------------------------
  216. ECHO ON
  217. TIMEOUT 1500
  218. REDIAL "BUSY"
  219. SEND "AAT&d0DT2424828"
  220. WAIT "Enter choice: "
  221. SEND "3"
  222. WAIT "Username: "
  223. SEND "gcaine"
  224. WAIT "Password: "
  225. SEND "mypassword"
  226. WAIT "Switching to PPP."
  227.  
  228. -------------------------end cut s:dialscript----------------------
  229.  
  230. Change envarc:sana2/ppp0.config to this:
  231.  
  232. serial.device 0 57600 0.0.0.0 7WIRE DIALSCRIPT=s:dialscript
  233.  
  234. Now all you have to do to connect is type startnet from the shell.
  235.  
  236. Thor Installation:
  237. ==================
  238.  
  239. Use the installtion script.
  240.  
  241.  Here's what I did after I installed Thor.
  242.  ----------------------------------------
  243.  
  244.  System Config:
  245.  - I created a system called Gary.
  246.  - I put my user name in the "Mailpacket (w/o ext.)" field.
  247.  - I selected TCP for the Type. 
  248.  - I clicked the "User Info ..." button and entered my user name, and 
  249.    email address.
  250.  - I clicked the "Type Options ..." button and put my server's IP number
  251.    in the mail server, and news server fields. I entered my user name,
  252.    and password, and clicked on the "Delete mail from POP server" button.
  253.  - I left everything else in the system config as it was, and saved it.
  254.  
  255.  Conference Config:
  256.  -I Clicked "User Info" and entered my email address 
  257.  
  258.  Global Config:
  259.   Message Options:
  260.   - I entered an external editor. (right now I have GED SCREEN Thor.1)
  261.     If you use an editor that you can't open on a public screen then 
  262.     change the tool types in the Thor Icon to make it open on the WB.
  263.   - put my signature in the "Signature" field, and selected "Use String"
  264.   Global Paths:
  265.   - "Save Dir"          Work:AmiTCP-4.0/Archive/Text
  266.   - "Download Dir"      Work:AmiTCP-4.0/Mail
  267.   - "Upload Dir"        Work:Amitcp-4.0/MailSpool
  268.   - "Arexx Dir"         S:
  269.   - "Tmp Dir"           T:
  270.   - "Dos Output"        Con:0/11/640/200/Thor<->Dos 0
  271.   
  272.   Everything else I left alone.
  273.   
  274.  I added this to the top of my startnet script:
  275.  
  276.  SetEnv USERNAME gcaine
  277.  SetEnv HOSTNAME cycor.ca
  278.  SetEnv SOCKETCONFIG "UID=100 GID=100 USER=gcaine DOMAIN=cycor.ca UMASK=002"
  279.  
  280.  You will have to change it to match your system.
  281.  
  282.  Make sure you put the socket.library in the AmiTCP:libs drawer.
  283.  
  284.  I created two more systems, one each for my wife, and daughter.
  285.  
  286.  To Join conferences you have to go to the "Events" menus and select 
  287.  "Get ConfList". The next time you call your server, select "Connect Thor"
  288.  from the menus, and then click on "Do Events" or "Do All". A list of 
  289.  available conferences will be downloaded, and then you can join the ones
  290.  you want.
  291.  ======================================================================
  292.  
  293.  I don't know if this is the most effecient way to get set up, but it
  294.  got me going.
  295.  
  296.  I hope this helps, send me email to let me know how it works out. :)
  297.   
  298.